<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="utf-8">
	<title>Subject Add</title>
</head>
<body>
<?php echo validation_errors(); ?>
<?php echo form_open_multipart('subject/add',$attr,$hidden); ?>
    课程名称：<?php echo form_input('name'); ?> <?php echo $nameerr;?><br>
    课程描述：<?php echo form_textarea('desc'); ?> <?php echo $descerr;?><br>
    课程图片：<?php echo form_upload('imgfile'); ?><?php echo $imgerr;?><br>
    <?php echo form_submit('submit', '确定'); ?>
<?php echo form_close(); ?>
</body>
</html>
